home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.20020314-20021006 / 000390_fdc@columbia.edu_Wed Sep 25 09:24:31 EDT 2002.msg < prev    next >
Text File  |  2020-01-01  |  6KB  |  148 lines

  1. Article: 13726 of comp.protocols.kermit.misc
  2. Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
  3. From: fdc@columbia.edu (Frank da Cruz)
  4. Newsgroups: comp.protocols.kermit.misc,comp.unix.xenix.sco,comp.dcom.modems
  5. Subject: Re: Help!  Trying to send files via serial modem...
  6. Date: 25 Sep 2002 09:24:19 -0400
  7. Organization: Columbia University
  8. Lines: 131
  9. Message-ID: <amsde3$d5d$1@watsol.cc.columbia.edu>
  10. References: <7ea6ad1.0209241717.7af4adc8@posting.google.com>
  11. NNTP-Posting-Host: watsol.cc.columbia.edu
  12. X-Trace: newsmaster.cc.columbia.edu 1032960260 25217 128.59.39.139 (25 Sep 2002 13:24:20 GMT)
  13. X-Complaints-To: postmaster@columbia.edu
  14. NNTP-Posting-Date: 25 Sep 2002 13:24:20 GMT
  15. Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13726 comp.unix.xenix.sco:18667 comp.dcom.modems:316229
  16.  
  17. In article <7ea6ad1.0209241717.7af4adc8@posting.google.com>,
  18. Ray Ward <rayward@metronet.com> wrote:
  19. : What I'm trying to do:
  20. : New federal legislation requires financial institutions to check
  21. : certain transactions against a federal database of suspected
  22. : terrorists.  To do this, my client needs to get data off of a fairly
  23. : large number (100's) of old Xenix 2.3.2 SysV boxes (i386) to an
  24. : off-site, modern box to do the checking.  (I'm not sure that all the
  25. : Xenix boxes are the exact same version.)  Deadline's in October.
  26. : My first thought was to automatically send files daily using Kermit
  27. : from a cron(1) script to a ProCommPlus 4.8 server running in Kermit
  28. : server mode on the client's Win2000 box.
  29. :
  30. : The Xenix boxes have only a
  31. : 1.2Mb 5.25 floppy and a serial port external US Robotics Sportster
  32. : modem (ranging from 2400-14400 bps).  They were bought with
  33. : application software only, no C compiler, make, man, etc..
  34. :
  35. OK, too bad, no building modern Kermit versions.  But maybe other readers
  36. can help there.
  37.  
  38. : ...so I have to find an executable file.
  39. :
  40. We have the following SCO Xenix binaries on our FTP site:
  41.  
  42.   cku192.sco286                Xenix/286 2.2.1
  43.   cku190b02.sco386netc-2.2.3   Xenix/386 2.2.3
  44.   cku192.sco3r2lai             Xenix/386 2.3.3 with Lachman Assoc TCP/IP
  45.   cku201.sco234                Xenix/386 2.3.4
  46.  
  47. Plus some other 2.3.4 variations.  You can find them here:
  48.  
  49.   http://www.columbia.edu/kermit/ck80binaries.html
  50.  
  51. All of these except the 2.3.4 ones are rather old (C-Kermit version 5 or 6)
  52. but still much newer than the one you have (version 4).
  53.  
  54. : They already have the ProCommPlus set up.
  55. : When I try to connect from the interactive Kermit that I found on one
  56. : machine (072 24 Jan 89 Xenix/286) it seems to connect...
  57. :
  58. Could I get you to upload that binary to our site so we can include it
  59. with the other Xenix binaries?
  60.  
  61.   ftp://kermit.columbia.edu/kermit/incoming/
  62.  
  63. , then drops the
  64. : line.  I tried loading the G-Kermit binary from the Columbia site, but
  65. : it's not interactive, and I can't figure out how to get it to dial
  66. : before trying to send the files.
  67. I suspect you're going about this backwards, but more about this later...
  68.  
  69. : So, I downloaded the 21-day eval copy of Kermit95 2.0 onto my Win98
  70. : box and got the same result, with a little more detail:
  71. : Kermit session.log:
  72. : ATQ0V1
  73. : OK
  74. : ATDT9721234567
  75. : CONNECT
  76. : (see garbage...)
  77. : NO CARRIER
  78. : Looks kind of like a baud rate mismatch.   So I set both the PC+ and
  79. : the Kermit95 to 2400 baud, xon/xoff, 8n1, full duples, 1 check byte. 
  80. : Didn't help.
  81. :
  82. Let's assume your plan is to dial each Xenix box from Windows, log in,
  83. start Kermit on Xenix, then transfer the file (since having 100 Xenix
  84. boxes call one Windows box would not make a lot of sense).
  85.  
  86. The Windows box no doubt has an all-singing all-dancing V.Everything modem,
  87. most likely a Winmodem.  The first thing you need to know about these is
  88. that you must address them by the Windows name (from the Modems folder in
  89. the Control Panel), not by their DOS name, such as COM1.  In Kermit 95:
  90.  
  91.   set port tapi
  92.   set speed xxxx
  93.   dial 9721234567
  94.  
  95. But "xxxx" is the kicker.  What should it be?  Does the calling modem
  96. support protocol negotiation and fallback?  If not, you'll need to set K95's
  97. interface speed to whatever each Xenix modem supports.  If the Xenix modem
  98. is V.32 or higher, it shouldn't matter -- the two modems will negotiate a
  99. usable connection and the calling modem can do "speed buffering".  But of
  100. course, the answering modem must still be configured to use an interface
  101. speed that agrees with what Xenix getty/login expect.  Or you can try
  102. sending a BREAK signal (Alt-B in Kermit 95) to see if it will make Xenix
  103. login change its speed (try this up to 15 times).
  104.  
  105. If you really do have 2400 bps answering modems, then you'll need to dumb
  106. down the calling modem like so:
  107.  
  108.   set port tapi
  109.   set speed 2400
  110.   set modem error-correction off
  111.   set modem data-compression off
  112.   set modem speed-matching off
  113.  
  114. because otherwise the negotiations sent by the calling modem will confuse
  115. the answering modem (or Xenix login) so much that you'll have to hang
  116. up anyway.
  117.  
  118. If all the Xenix boxes are different, then getting this to work 100 times
  119. might be tricky, and in that case maybe it DOES make sense to have the
  120. Xenixes call Windows after all.  But then you have a couple new problems:
  121.  
  122.  1. Windows is not like Xenix -- you can't call it up, get a login:
  123.     prompt, log in, and run programs.  You have to set Kermit 95 on
  124.     Xenix up to wait for incoming calls, answer them, and then enter
  125.     server mode or something.
  126.  
  127.  2. You'll no doubt have contention, so your calling procedure will have
  128.     handle the busy-redial scenario (which modern C-Kermit programs are
  129.     fully capable of, but not the ancient one you have).
  130.  
  131. Anyway, as to problem (1), see:
  132.  
  133.   http://www.columbia.edu/kermit/k95.html#modems
  134.  
  135. If you can get a more modern version of Kermit to run on Xenix, then you
  136. can script everything:
  137.  
  138.   http://www.columbia.edu/kermit/ckscripts.html
  139.  
  140. - Frank
  141.